<template>
	<view>
		<dsl-navbar :title="messageData.title" bgTopImg="white" isBack></dsl-navbar>
		<view class="padding">
			<view class="padding-tb text-sm text-gray">日期：{{messageData.createTime}}</view>
			{{messageData.content}}
		</view>
	</view>
</template>

<script>
	import {
		mapState,
		mapActions
	} from 'vuex'
	export default {
		data() {
			return {

			}
		},
		//生命周期函数
		onReady() {},
		onLoad(option) {
			this.messageDatailApi({
				id: option.id
			})

		},
		onShow() {},
		methods: {
			/**
			 * messageDatailApi 公告详情
			 */
			...mapActions('message', ['messageDatailApi'])

		},
		computed: {
			...mapState('message', ['messageData'])
		},
		components: {},
	}
</script>

<style>
</style>
